Skip to content

CI: mypy strict for the core; safe home directory; mutation score - #419

Merged
NeoZorK merged 1 commit into
mainfrom
protocolith/mypy-and-home-v2
Nov 18, 2026
Merged

NeoZorK merged 1 commit into
mainfrom
protocolith/mypy-and-home-v2

Conversation

@NeoZorK

@NeoZorK NeoZorK commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Adds mypy --strict over protocolith.core to CI (and the dev extra) and fixes the two errors it found in core/schema.py. The command line no longer fails when the home directory cannot be determined (falls back to the temporary directory). Refreshes scripts/mutation_core.sh (fresh run by default, examples copied) and records the mutation score: 826 of 911 mutants killed (90.7 percent).

…he mutation script and score

Signed-off-by: Rost S. <63606118+NeoZorK@users.noreply.github.com>
@NeoZorK
NeoZorK merged commit cf1059b into main Nov 18, 2026
46 of 47 checks passed
@NeoZorK
NeoZorK deleted the protocolith/mypy-and-home-v2 branch November 18, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant